package db;

import java.sql.SQLException;

import java.util.ArrayList;

import model.Employee;

public interface IFEmployee 
{
	public int createEmployee(Employee employee) throws SQLException;
	public int updateEmployee(Employee employee) throws SQLException;
	public int checkLogin(String loginUsername, char[] loginPassword) throws SQLException;

	public Employee searchEmployeeID(int id) throws SQLException;

	public ArrayList<Employee> searchEmployeeUsername(boolean active, String jobID, String search) throws SQLException;
	public ArrayList<Employee> searchEmployeePhoneNo(boolean active, String jobID, String search) throws SQLException;
	public ArrayList<Employee> searchEmployeeEmail(boolean active, String jobID, String search) throws SQLException;
	public ArrayList<Employee> searchEmployeeEverything(boolean active, String jobID, String search) throws SQLException;
	public ArrayList<Employee> searchEmployeeName(boolean active, String jobID, String search) throws SQLException;
}